<%@page import="com.bean.NTm"%>
<%@page import="util.DBUtil"%>
<%@page import="com.dao.NbaDao"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>球队历史</title>
		<link rel="stylesheet" href="css/qiuduilishi.css" />
		<link rel="shortcut icon" href="img/favicon.ico">
	</head>
	<body>
		<!----整个界面--->
		<div class="page">
			<form action="NbaServlet?act=6" method="post">
			<div class="nav">
				<a>欢迎来到NBA球星管理系统</a>
			</div>
            <div class="scroll">
            	<marquee>尊敬的&nbsp;${username}&nbsp;&nbsp;欢迎进入NBA球星管理系统，你想要的应有尽有！！</marquee>
            </div>
			<div class="left">
			<div class="img">
				<img src="img/11.png" width="200" height="100">
			</div>
             <div class="small_left1></div>
             <div class="small_left1"></div>
             <div class="small_left1"></div>
             <div class="small_left1"></div>
             <div class="small_left" onclick="window.location.href= 'qiuyuanxinxi.jsp'">
             	<a href="NbaServlet?act=14"><img src="img/15.ico" width="30px" height="30px">球员信息</a>
             </div>
             <div class="small_left" onclick="window.location.href= '#'">
             	<a href="#"><img src="img/1.ico" width="30px" height="30px">球队信息</a>
             </div>
             <div class="small_left" onclick="window.location.href= 'lishi.jsp'">
             	<a href="lishi.jsp"><img src="img/3.ico" width="30px" height="30px">球队历史</a>
             </div>
            
             <div class="small_left" onclick="window.location.href= 'wodeqiudui.jsp'"><a href="wodeqiudui.jsp"><img src="img/2.png" width="30px" height="30px">我的球队</a></div>
              <div class="small_left" onclick="window.location.href= 'home.jsp'"><a href="home.jsp"> <img src="img/20.ico" width="30px" height="30px">个人中心</a></div>
                <div class="zi">
                <a href="shouye.jsp">返回首页</a>
             </div>
			</div>
            	<div class="right_img">
				<!-----搜索框开始------->
				
					<!--  
			 		<div class="sousuo">
              	    	<div class="input_1">
              	    		<input type="search" name="Nteam" required="required" value="" placeholder="请输入要搜索的球队名称" style="width: 200px; height: 30px;" />
              	    		<input type="submit"  value="搜索一下"  style="width: 80px; height: 31px; background-color: #EECFA1;border: solid 1.5px #EE7942;"/>
              	    	</div>
              	   </div>
              	   -->
               	   <div class="lishi">
              	    	<div class="tab"> 
              	    	<table  width="600" align="center" height="150" >
              	    	<%
              	    	ArrayList<NTm> list = (ArrayList<NTm>)session.getAttribute("ssss");
              	    	if(list!=null&&list.size() != 0){ %>
              	    	<tr align="center" height="5">
              	    			<td class="z1"></td>
              	    		</tr>
              	    		<tr height="6"> 
              	    			<td  align="left"></td>
              	    		</tr>
              	    	<% 	
              	    	for(int j = 0;j < list.size();j++){ %>
              	    		<div class="img1" width="200" height="200">
              	    			<img src="img/NBA/<%=list.get(j).getImgsd()%>" height="200" width="200">
              	    		</div>
              	    		<tr align="center" height="60">
              	    			<td class="z1"><%=list.get(j).getNtem() %></td>
              	    			
              	    		</tr>
              	    		<tr height="200"> 
              	    			<td  align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=list.get(j).getNhostr() %></td>
              	    		</tr>
              	    		<%} 
              	    	}
              	    	
              	    	%>
              	    	</table>
              	    	</div>
              	    </div>
              </div>	
			</div>
              
              	   
			</div>
			</form>
		</div>
	</body>
</html>
